/*
 * @Description: 扣款顺序支付方式
 * @Author: tao.xie
 * @Date: 2019-03-26 14:00:35
 * @Last Modified by: tao.xie
 * @Last Modified time: 2019-03-26 14:02:06
 */
export default class PaymentInfo {
  /**
   *Creates an instance of PaymentInfo.
   * @param {String} paymentOrderId 扣款顺序记录编号
   * @param {String} paymentName 支付方式名称
   * @param {String} bankCardShortNo 银行卡号后四位
   * @param {String} payment 支付方式 ,ACCOUNT_PAY:账户余额支付，BINDCARD_PAY：绑卡付
   * @param {String} payAccount 支付账户号 ,账户编号，银行卡绑卡sid
   * @param {number} isSupport 是否支持, 0.不支持 1.支持
   * @memberof PaymentInfo
   */
  constructor(
    paymentOrderId,
    paymentName,
    bankCardShortNo,
    payment,
    payAccount,
    isSupport = 1
  ) {
    this.paymentOrderId = paymentOrderId
    this.paymentName = paymentName
    this.bankCardShortNo = bankCardShortNo
    this.payment = payment
    this.payAccount = payAccount
    this.isSupport = isSupport
  }
}
